* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

html,
body {
  height: 100%;
  font-family: "微软雅黑", sans-serif;
  font-size: 13px;
  box-sizing: border-box;
}

/*头部*/

div#header {
  width: 10rem;
  height: 50px;
  background-color: #df91da;
  padding: 5px;

  .logo {
      margin-left: 5px;
      padding: 12px;
      width: 75%;
      float: left;

      a {
          display: block;
          height: 100%;
          background-color: transparent;

          img {
              height: 25px;
              vertical-align: middle;
          }
      }
  }

  .rgt {
      float: left;
      padding: 6px;

      img {
          height: 34px;
          vertical-align: middle;
      }
  }
}

/*搜索框*/
section#search {
  background-color: #fff;
  width: 100%;
  position: relative;
  border-bottom: 1px solid #ccc;
}

#search {
  .searchbox {
      padding: 10px;

      input {
          height: 30px;
          width: 90%;
          border-radius: 15px;
          background-color: #f1f1f1;
          border: none;
          font-size: 16px;
          text-indent: 12px;
      }
  }

  .button {
      button {
          width: 1.68rem;
          height: 30px;
          background-color: #7da8d8;
          border-radius: 15px;
          border: none;
          position: absolute;
          top: 10px;
          right: 10px;
      }
  }
}

/*返回首页全部分类*/
.backup {
  padding-left: 5px;
  width: 100%;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  background-image: linear-gradient(to bottom, #fff, #ccc);
  margin-bottom: 10px;
  overflow: hidden;

  a {
      color: #666;
      cursor: pointer;
      display: inline-block;
      line-height: 35px;
      height: 35px;
      font-size: 14px;
  }

  .dotton {
      background-image: linear-gradient(to top, #fff, #ccc);
      margin-top: 2px;
      margin-right: 15px;
      float: right;
      width: 60px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      color: black;
      border-radius: 5px;
      border: 1px solid #ccc;
  }

}

/*主体*/
main {
  .info {
      padding: 10px 10px 0 10px;
  }

  .pic {
      height: 160px;
      overflow: hidden;
      text-align: center;
      padding: 10px 0;
      position: relative;
  }

  .title {
      font-size: 18px;
      margin: 10px 0;
  }

  .makeprice {
      table {
          height: 50px;
          border-bottom: 1px solid #ccc;
      }
  }

  div {
      box-sizing: border-box;
  }

  .comment {
      padding: 10px 0;
      box-sizing: border-box;

      h4 {
          margin-top: 0;
          height: 34px;
          line-height: 34px;
          text-align: center;
          background-color: #dbdbdb;
      }

      .content {
          border-bottom: 1px solid #cccccc;
          margin: 5px 0;

          .content_in {
              padding: 10px;
          }

          .form {
              padding-right: 10px;
              padding-bottom: 10px;
          }
      }

      .up {
          padding: 0 10px;
          display: flex;
          justify-content: space-between;
      }
  }
}

//底部
#foot {
  .more {
      a {
          display: block;
          font-size: 13px;
          line-height: 30px;
          text-align: center;
          border-radius: 5px;
          border: 1px solid #ddd;
          background-image: linear-gradient(#ffffff, #f4f4f4);
          color: #666;
          text-decoration: none;
      }
  }

  .ranking {
      background-color: #ea90e7;
      margin-top: 10px;
      margin-bottom: 6px;

      .ranking-left {
          color: #fff;
          display: inline-block;
          font: bolder 18px/35px "Microsoft soft";
          padding-left: 10px;
      }

      .ranking-right {
          line-height: 35px;
          float: right;
          padding-right: 10px;

          img {
              width: 20px;
              height: 20px;
              vertical-align: middle;
          }
      }
  }

  .login {
      width: 100%;

      .container {
          width: 100%;
          padding-right: 15px;
          padding-left: 15px;
          margin-right: auto;
          margin-left: auto;
          box-sizing: border-box;

          .low {
              height: 36px;
              margin-top: 10px;
              border-top: 1px solid #c4c4c4;
              border-bottom: 1px solid #c4c4c4;
              margin-right: -15px;
              margin-left: -15px;
              box-sizing: border-box;

              a {
                  display: block;
                  color: #666;
                  text-decoration: none;

                  div {
                      height: 33px;
                      line-height: 33px;
                      text-align: center;
                      font-size: 12px;
                      border-right: 1px solid #c4c4c4;
                      float: left;
                      /* position: relative; */
                      min-height: 1px;
                      padding-right: 15px;
                      padding-left: 15px;
                  }

                  .a1 {
                      width: 15%;
                  }

                  .a2 {
                      width: 25%;
                  }

                  .a3 {
                      width: 30%;
                      border-right: 0;
                  }
              }
          }
      }
  }

  .content_b {
      text-align: center;
      padding: 10px;

      p {
          margin: 0 0 10px;

          a {
              color: #666;
              text-decoration: none;
          }
      }
  }
}